package com.tree.thrive.adapter.http.product;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @Auther: cheng.tang
 * @Date: 2023/9/11
 * @Description: top-tree
 */
@FeignClient(name = "ProductCenterFeign", url = "https://product-center.zkh360.com")
public interface ProductCenterFeign {

    @PostMapping("/gbb/vc/shops/{shopNo}/skus/{skuNo}")
    String shopsSkuNo(@RequestHeader("serverName") String serverName, @PathVariable("shopNo") String shopNo, @PathVariable("skuNo") String skuNo);

}
